export default {
    API: {
        COMMON: {
            USER_LOGIN: `${process.env.VUE_APP_BASE_API}/admin/comm/login`,
            USER_LOGOUT: `${process.env.VUE_APP_BASE_API}/admin/comm/logout`,
            USER_INFO: `${process.env.VUE_APP_BASE_API}/admin/comm/person`,
            PERM_MENU: `${process.env.VUE_APP_BASE_API}/admin/comm/permmenu`,
            UPLOAD: `${process.env.VUE_APP_BASE_API}/admin/comm/upload`
        },
        SYSTEM: {
            DEPT: {
                LIST: `${process.env.VUE_APP_BASE_API}/admin/sys/department/list`,
                ADD: `${process.env.VUE_APP_BASE_API}/admin/sys/department/add`,
                UPDATE: `${process.env.VUE_APP_BASE_API}/admin/sys/department/update`,
                DELETE: `${process.env.VUE_APP_BASE_API}/admin/sys/department/delete`,
                ORDER: `${process.env.VUE_APP_BASE_API}/admin/sys/department/order`
            },
            USER: {
                PAGE: `${process.env.VUE_APP_BASE_API}/admin/sys/user/page`,
                UPDATE: `${process.env.VUE_APP_BASE_API}/admin/sys/user/update`,
                DELETE: `${process.env.VUE_APP_BASE_API}/admin/sys/user/delete`,
            },
            ROLE: {
                LIST: `${process.env.VUE_APP_BASE_API}/admin/sys/role/list`
            }
        }
    },
    CODE: {
        SUCCESS: 1000,
        NOT_LOGIN: 1001
    },
    STORAGE: {
        TAGS: 'tags',
        MENU: {
            VIEW_ROUTES: 'viewRoutes',
            MENU_GROUP: 'menuGroup',
            COLLAPSE: 'collapse'
        },
        USER: {
            TOKEN: 'token',
            USER_INFO: 'userInfo'
        }
    },
    MIME: {
        IMAGE: 'image/png,image/bmp,image/cis-cod,image/gif,image/ief,image/jpeg,image/jpeg,image/jpeg,image/pipeg,image/svg+xml,image/tiff,image/tiff,image/x-cmu-raster,' +
            'image/x-cmx,image/x-icon,image/x-portable-anymap,image/x-portable-bitmap,image/x-portable-graymap,image/x-portable-pixmap,image/x-rgb,image/x-xbitmap' +
            'image/x-xpixmap,image/x-xwindowdump'
    }
}
